﻿using System;

namespace Solution.Application.Commands.Dtos
{
    public class AbstractModel<TKey>
    {
        public TKey Id { get; set; }

        public ulong TenantId { get; set; } = 0;

        public bool IsDeleted { get; set; } = false;

        public DateTime CreatedTime { get; set; } = DateTime.UtcNow;

        public DateTime UpdatedTime { get; set; } = DateTime.UtcNow;
    }
}